x86/S3: Restore Xen's MSR_PAT value on S3 resume
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Feb 2023 15:56:14 +0000 (16:56 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Feb 2023 15:56:14 +0000 (16:56 +0100)
commita470a83c36c07b56d90957ae1e6e9ebc458d3686
tree3fdae79a953a93c2d1eb9022dfd0cb62e23d1ae9
parent2f8851c37f88e4eb4858e16626fcb2379db71a4f
x86/S3: Restore Xen's MSR_PAT value on S3 resume

There are two paths in the trampoline, and Xen's PAT needs setting up in both,
not just the boot path.

Fixes: 4304ff420e51 ("x86/S3: Drop {save,restore}_rest_processor_state() completely")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: 4d975798e11579fdf405b348543061129e01b0fb
master date: 2023-01-10 21:21:30 +0000
xen/arch/x86/boot/wakeup.S